 /*
  *@(#)AdTrackRequest.java		8 Sept. 2000
  *
  * Copyright: MetaPlus Inc & Inquiry Management Systems Ltd.  2000
  *
  * This software is the proprietary information of MetaPlus Inc & 
  * Inquiry Management Systems Ltd.  
  * Use is subject to license terms.
  */
package com.ims.iaa;
 
import java.sql.*;
import java.rmi.*;

/**
  *
  * Defines the behavior of an advertisement search request object. 
  * This interface extends the <code>java.rmi.Remote</code>interface.
  * It provides accessor and mutter method for other class to manipulate 
  * the request method. 
  *
  * @see AdTrackRequestImpl
  *
  * @author Anthony Zhang
  *
  * @version 1.00, 25 Sept. 2000
  *
  */
public interface AdTrackRequest	extends  Remote {
	
	static final byte WAITING = 0;
	static final byte PROCESSING = 1;
	static final byte PROCESSED = 2;	
	
	public LocalRequest getLocalRequest() throws  RemoteException; 
	
	public boolean equals(AdTrackRequest adReq) throws  RemoteException;
	
	public void setUrl(String URL) throws  RemoteException;
	
	public String getUrl() throws  RemoteException;
	
	public void setDepth(int depth) throws  RemoteException;
	
	public int getDepth() throws  RemoteException;
	
	public void setStartTime(Timestamp startTime) throws  RemoteException;
	
	public Timestamp getStartTime() throws  RemoteException;

	public void setEndTime(Timestamp endTime) throws  RemoteException;
	
	public Timestamp getEndTime() throws  RemoteException;

	public void setSpiderName(String name) throws  RemoteException;

	public void setSearchState(int state) throws  RemoteException;		
}